<?php require_once("regras/controlador/index.php"); ?>
<!DOCTYPE>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>BVX</title>
        <link rel="icon" type="image/ico" href="assets/img/ico/iconeAgence.ico" />
        <link href="assets/css/style.css" rel="stylesheet">
        <link href="assets/css/msg.css" rel="stylesheet">
        <script type="text/javascript" src="assets/js/jquery-1.6.js"></script>
    </head>

    <body>
        <div id="conteiner">	
            <div id="conteiner-login">
                <img src="assets/img/logoAgence.png">
                <br>
                <?php if (isset($class) and isset($mensagem)) { ?>
                    <div id="mensagens" class="<?= $class ?>"><?php echo $mensagem; ?></div>    
                <?php } ?>
                <form name="frmLogin" id="frmLogin" method="POST">
                    <p>
                        <strong>Identifique-se por favor para utilizar o agence.</strong>
                    </p>
                    <p>
                        <label for="txtuser">Usuário</label>
                        <input type="text" name="txtuser" id="txtuser" value="" class="formulario" required>
                    </p>
                    <p>
                        <label for="txtpwd">Senha</label>
                        <input type="password" name="txtpwd" id="txtpwd" value="" class="formulario" required>                        
                    </p>
                    <p>
                        <input type="submit" name="btnLogin" id="btnLogin" value="entrar" class="button">
                    </p>
                </form>
            </div>
        </div>
    </body>
</html>

